// 该文件负责所有的公共的组件的全局注册   Vue.use
import PageTools from './PageTools'

import UploadExcel from './UploadExcel' // 导入

import ImageUpload from './ImageUpload'

import Print from 'vue-print-nb'

import ScreenFull from './ScreenFull'

import ThemePicker from './ThemePicker'

import Lang from './lang'

import TagsView from './TagsView'

export default {
  install(Vue) {
    //  注册全局的通用栏组件对象
    Vue.component('PageTools', PageTools)
    // 注册excel组件
    Vue.component('UploadExcel', UploadExcel)
    // 注册导入上传组件
    Vue.component('ImageUpload', ImageUpload)
    // 打印插件
    Vue.use(Print)
    // 注册全屏组件
    Vue.component('ScreenFull', ScreenFull)
    // 动态主题
    Vue.component('ThemePicker', ThemePicker)
    // 语言
    Vue.component('Lang', Lang)
    // tab页
    Vue.component('TagsView', TagsView)
  }
}
